
#include <cmath>
#include <cstdlib>

#include "IClassDouble.h"
#include "member_BClass.h"

using namespace BWE;

ClassDouble::ClassDouble() : BClass("double", true)
{

	insertMethod("double()", &ClassDouble::create);
	insertMethod("double(bool)", &ClassDouble::create_bool);
	insertMethod("double(char)", &ClassDouble::create_char);
	insertMethod("double(short)", &ClassDouble::create_short);
	insertMethod("double(int)", &ClassDouble::create_int);
	insertMethod("double(float)", &ClassDouble::create_float);
	insertMethod("double(real)", &ClassDouble::create_real);
	insertMethod("double(double)", &ClassDouble::create_double);

	insertMethod("double =(bool)", &ClassDouble::assign_bool);
	insertMethod("double =(char)", &ClassDouble::assign_char);
	insertMethod("double =(short)", &ClassDouble::assign_short);
	insertMethod("double =(int)", &ClassDouble::assign_int);
	insertMethod("double =(long)", &ClassDouble::assign_long);
	insertMethod("double =(real)", &ClassDouble::assign_real);
	insertMethod("double =(float)", &ClassDouble::assign_float);
	insertMethod("double =(double)", &ClassDouble::assign_double);

	insertMethod("double +()", &ClassDouble::positive);
	insertMethod("double -()", &ClassDouble::negative);
	insertMethod("double ++()", &ClassDouble::plus_plus);
	insertMethod("double --()", &ClassDouble::minus_minus);

	insertMethod("double +(char)", &ClassDouble::plus_char);
	insertMethod("double +(short)", &ClassDouble::plus_short);
	insertMethod("double +(int)", &ClassDouble::plus_int);
	insertMethod("double +(long)", &ClassDouble::plus_long);
	insertMethod("double +(real)", &ClassDouble::plus_real);
	insertMethod("double +(float)", &ClassDouble::plus_float);
	insertMethod("double +(double)", &ClassDouble::plus_double);

	insertMethod("+=(char)", &ClassDouble::plus_assign_char);
	insertMethod("+=(short)", &ClassDouble::plus_assign_short);
	insertMethod("+=(int)", &ClassDouble::plus_assign_int);
	insertMethod("+=(long)", &ClassDouble::plus_assign_long);
	insertMethod("+=(real)", &ClassDouble::plus_assign_real);
	insertMethod("+=(float)", &ClassDouble::plus_assign_float);
	insertMethod("+=(double)", &ClassDouble::plus_assign_double);

	insertMethod("double -(char)", &ClassDouble::minus_char);
	insertMethod("double -(short)", &ClassDouble::minus_short);
	insertMethod("double -(int)", &ClassDouble::minus_int);
	insertMethod("double -(long)", &ClassDouble::minus_long);
	insertMethod("double -(real)", &ClassDouble::minus_real);
	insertMethod("double -(float)", &ClassDouble::minus_float);
	insertMethod("double -(double)", &ClassDouble::minus_double);

	insertMethod("-=(char)", &ClassDouble::minus_assign_char);
	insertMethod("-=(short)", &ClassDouble::minus_assign_short);
	insertMethod("-=(int)", &ClassDouble::minus_assign_int);
	insertMethod("-=(long)", &ClassDouble::minus_assign_long);
	insertMethod("-=(real)", &ClassDouble::minus_assign_real);
	insertMethod("-=(float)", &ClassDouble::minus_assign_float);
	insertMethod("-=(double)", &ClassDouble::minus_assign_double);

	insertMethod("double *(char)", &ClassDouble::mult_char);
	insertMethod("double *(short)", &ClassDouble::mult_short);
	insertMethod("double *(int)", &ClassDouble::mult_int);
	insertMethod("double *(long)", &ClassDouble::mult_long);
	insertMethod("double *(real)", &ClassDouble::mult_real);
	insertMethod("double *(float)", &ClassDouble::mult_float);
	insertMethod("double *(double)", &ClassDouble::mult_double);

	insertMethod("*=(char)", &ClassDouble::mult_assign_char);
	insertMethod("*=(short)", &ClassDouble::mult_assign_short);
	insertMethod("*=(int)", &ClassDouble::mult_assign_int);
	insertMethod("*=(long)", &ClassDouble::mult_assign_long);
	insertMethod("*=(real)", &ClassDouble::mult_assign_real);
	insertMethod("*=(float)", &ClassDouble::mult_assign_float);
	insertMethod("*=(double)", &ClassDouble::mult_assign_double);

	insertMethod("double /(char)", &ClassDouble::div_char);
	insertMethod("double /(short)", &ClassDouble::div_short);
	insertMethod("double /(int)", &ClassDouble::div_int);
	insertMethod("double /(long)", &ClassDouble::div_long);
	insertMethod("double /(real)", &ClassDouble::div_real);
	insertMethod("double /(float)", &ClassDouble::div_float);
	insertMethod("double /(double)", &ClassDouble::div_double);

	insertMethod("/=(char)", &ClassDouble::div_assign_char);
	insertMethod("/=(short)", &ClassDouble::div_assign_short);
	insertMethod("/=(int)", &ClassDouble::div_assign_int);
	insertMethod("/=(long)", &ClassDouble::div_assign_long);
	insertMethod("/=(real)", &ClassDouble::div_assign_real);
	insertMethod("/=(float)", &ClassDouble::div_assign_float);
	insertMethod("/=(double)", &ClassDouble::div_assign_double);

	insertMethod("double %(char)",		&ClassDouble::mod_char);
	insertMethod("double %(short)",		&ClassDouble::mod_short);
	insertMethod("double %(int)",		&ClassDouble::mod_int);
	insertMethod("double %(long)",		&ClassDouble::mod_long);
	insertMethod("double %(real)",		&ClassDouble::mod_real);
	insertMethod("double %(float)",		&ClassDouble::mod_float);
	insertMethod("double %(double)",	&ClassDouble::mod_double);

	insertMethod("%=(char)",	 &ClassDouble::mod_assign_char);
	insertMethod("%=(short)",	 &ClassDouble::mod_assign_short);
	insertMethod("%=(int)",		 &ClassDouble::mod_assign_int);
	insertMethod("%=(long)",	 &ClassDouble::mod_assign_long);
	insertMethod("%=(real)",	 &ClassDouble::mod_assign_real);
	insertMethod("%=(float)",	 &ClassDouble::mod_assign_float);
	insertMethod("%=(double)",	 &ClassDouble::mod_assign_double);

	insertMethod("bool ==(char)", &ClassDouble::equal_char);
	insertMethod("bool ==(short)", &ClassDouble::equal_short);
	insertMethod("bool ==(int)", &ClassDouble::equal_int);
	insertMethod("bool ==(long)", &ClassDouble::equal_long);
	insertMethod("bool ==(real)", &ClassDouble::equal_real);
	insertMethod("bool ==(float)", &ClassDouble::equal_float);
	insertMethod("bool ==(double)", &ClassDouble::equal_double);

	insertMethod("bool !=(char)", &ClassDouble::unequal_char);
	insertMethod("bool !=(short)", &ClassDouble::unequal_short);
	insertMethod("bool !=(int)", &ClassDouble::unequal_int);
	insertMethod("bool !=(long)", &ClassDouble::unequal_long);
	insertMethod("bool !=(real)", &ClassDouble::unequal_real);
	insertMethod("bool !=(float)", &ClassDouble::unequal_float);
	insertMethod("bool !=(double)", &ClassDouble::unequal_double);

	insertMethod("bool >(char)", &ClassDouble::greater_char);
	insertMethod("bool >(short)", &ClassDouble::greater_short);
	insertMethod("bool >(int)", &ClassDouble::greater_int);
	insertMethod("bool >(long)", &ClassDouble::greater_long);
	insertMethod("bool >(real)", &ClassDouble::greater_real);
	insertMethod("bool >(float)", &ClassDouble::greater_float);
	insertMethod("bool >(double)", &ClassDouble::greater_double);

	insertMethod("bool <(char)", &ClassDouble::less_char);
	insertMethod("bool <(short)", &ClassDouble::less_short);
	insertMethod("bool <(int)", &ClassDouble::less_int);
	insertMethod("bool <(long)", &ClassDouble::less_long);
	insertMethod("bool <(real)", &ClassDouble::less_real);
	insertMethod("bool <(float)", &ClassDouble::less_float);
	insertMethod("bool <(double)", &ClassDouble::less_double);

	insertMethod("bool >=(char)", &ClassDouble::greater_equal_char);
	insertMethod("bool >=(short)", &ClassDouble::greater_equal_short);
	insertMethod("bool >=(int)", &ClassDouble::greater_equal_int);
	insertMethod("bool >=(long)", &ClassDouble::greater_equal_long);
	insertMethod("bool >=(real)", &ClassDouble::greater_equal_real);
	insertMethod("bool >=(float)", &ClassDouble::greater_equal_float);
	insertMethod("bool >=(double)", &ClassDouble::greater_equal_double);

	insertMethod("bool <=(char)", &ClassDouble::less_equal_char);
	insertMethod("bool <=(short)", &ClassDouble::less_equal_short);
	insertMethod("bool <=(int)", &ClassDouble::less_equal_int);
	insertMethod("bool <=(long)", &ClassDouble::less_equal_long);
	insertMethod("bool <=(real)", &ClassDouble::less_equal_real);
	insertMethod("bool <=(float)", &ClassDouble::less_equal_float);
	insertMethod("bool <=(double)", &ClassDouble::less_equal_double);

}

void ClassDouble::create(int argc, BValue* argv)
{
	argv[0].refer() = 0.0;
}
void ClassDouble::create_bool(int argc, BValue* argv)
{
	bool b = argv[1];
	argv[0].refer() = b ? 1.0 : 0.0;
}
void ClassDouble::create_char(int argc, BValue* argv)
{
	char c = argv[1];
	argv[0].refer() = (double)c;
}
void ClassDouble::create_short(int argc, BValue* argv)
{
	short s = argv[1];
	argv[0].refer() = (double)s;
}
void ClassDouble::create_int(int argc, BValue* argv)
{
	int i = argv[1];
	argv[0].refer() = (double)i;
}
void ClassDouble::create_long(int argc, BValue* argv)
{
	long long l = argv[1];
	argv[0].refer() = (double)l;
}
void ClassDouble::create_real(int argc, BValue* argv)
{
	BReal r = argv[1];
	argv[0].refer() = (double)r;
}
void ClassDouble::create_float(int argc, BValue* argv)
{
	float f = argv[1];
	argv[0].refer() = (double)f;
}
void ClassDouble::create_double(int argc, BValue* argv)
{
	double d = argv[1];
	argv[0].refer() = d;
}
void ClassDouble::release(int argc, BValue* argv)
{
	argv[0].refer().clear();
}

void ClassDouble::assign_bool(int argc, BValue* argv)
{
	double& v = argv[0];
	bool b = argv[1];
	v = b ? 1.0 : 0.0;
}
void ClassDouble::assign_char(int argc, BValue* argv)
{
	double& v = argv[0];
	char c = argv[1];
	v = (double)c;
}
void ClassDouble::assign_short(int argc, BValue* argv)
{
	double& v = argv[0];
	short s = argv[1];
	v = (double)s;
}
void ClassDouble::assign_int(int argc, BValue* argv)
{
	double& v = argv[0];
	int i = argv[1];
	v = (double)i;
}
void ClassDouble::assign_long(int argc, BValue* argv)
{
	double& v = argv[0];
	long long l = argv[1];
	v = (double)l;
}
void ClassDouble::assign_real(int argc, BValue* argv)
{
	double& v = argv[0];
	BReal r = argv[1];
	v = (double)r;
}
void ClassDouble::assign_float(int argc, BValue* argv)
{
	double& v = argv[0];
	float f = argv[1];
	v = (double)f;
}
void ClassDouble::assign_double(int argc, BValue* argv)
{
	double& v = argv[0];
	double d = argv[1];
	v = d;
}

void ClassDouble::positive(int argc, BValue* argv)
{

}
void ClassDouble::negative(int argc, BValue* argv)
{
	double& v = argv[0];
	argv[0] = -v;
}
void ClassDouble::plus_plus(int argc, BValue* argv)
{
	double& v = argv[0];
	argv[0] = v++;
}
void ClassDouble::minus_minus(int argc, BValue* argv)
{
	double& v = argv[0];
	argv[0] = v--;
}

void ClassDouble::plus_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = double(v + c);
}
void ClassDouble::plus_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = double(v + s);
}
void ClassDouble::plus_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = double(v + i);
}
void ClassDouble::plus_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = double(v + l);
}
void ClassDouble::plus_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = double(v + r);
}
void ClassDouble::plus_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = double(v + f);
}
void ClassDouble::plus_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = double(v + d);
}

void ClassDouble::plus_assign_char(int argc, BValue* argv)
{
	double& v = argv[0];
	char c = argv[1];
	v += c;
}
void ClassDouble::plus_assign_short(int argc, BValue* argv)
{
	double& v = argv[0];
	short s = argv[1];
	v += s;
}
void ClassDouble::plus_assign_int(int argc, BValue* argv)
{
	double& v = argv[0];
	int i = argv[1];
	v += i;
}
void ClassDouble::plus_assign_long(int argc, BValue* argv)
{
	double& v = argv[0];
	long long l = argv[1];
	v += l;
}
void ClassDouble::plus_assign_real(int argc, BValue* argv)
{
	double& v = argv[0];
	BReal r = argv[1];
	v += r;
}
void ClassDouble::plus_assign_float(int argc, BValue* argv)
{
	double& v = argv[0];
	float f = argv[1];
	v += f;
}
void ClassDouble::plus_assign_double(int argc, BValue* argv)
{
	double& v = argv[0];
	double d = argv[1];
	v += d;
}

void ClassDouble::minus_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = double(v - c);
}
void ClassDouble::minus_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = double(v - s);
}
void ClassDouble::minus_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = double(v - i);
}
void ClassDouble::minus_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = double(v - l);
}
void ClassDouble::minus_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = double(v - r);
}
void ClassDouble::minus_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = double(v - f);
}
void ClassDouble::minus_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = double(v - d);
}

void ClassDouble::minus_assign_char(int argc, BValue* argv)
{
	double& v = argv[0];
	char c = argv[1];
	v -= c;
}
void ClassDouble::minus_assign_short(int argc, BValue* argv)
{
	double& v = argv[0];
	short s = argv[1];
	v -= s;
}
void ClassDouble::minus_assign_int(int argc, BValue* argv)
{
	double& v = argv[0];
	int i = argv[1];
	v -= i;
}
void ClassDouble::minus_assign_long(int argc, BValue* argv)
{
	double& v = argv[0];
	long long l = argv[1];
	v -= l;
}
void ClassDouble::minus_assign_real(int argc, BValue* argv)
{
	double& v = argv[0];
	BReal r = argv[1];
	v -= r;
}
void ClassDouble::minus_assign_float(int argc, BValue* argv)
{
	double& v = argv[0];
	float f = argv[1];
	v -= f;
}
void ClassDouble::minus_assign_double(int argc, BValue* argv)
{
	double& v = argv[0];
	double d = argv[1];
	v -= d;
}

void ClassDouble::mult_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = double(v * c);
}
void ClassDouble::mult_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = double(v * s);
}
void ClassDouble::mult_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = double(v * i);
}
void ClassDouble::mult_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = double(v * l);
}
void ClassDouble::mult_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = double(v * r);
}
void ClassDouble::mult_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = double(v * f);
}
void ClassDouble::mult_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = double(v * d);
}

void ClassDouble::mult_assign_char(int argc, BValue* argv)
{
	double& v = argv[0];
	char c = argv[1];
	v *= c;
}
void ClassDouble::mult_assign_short(int argc, BValue* argv)
{
	double& v = argv[0];
	short s = argv[1];
	v *= s;
}
void ClassDouble::mult_assign_int(int argc, BValue* argv)
{
	double& v = argv[0];
	int i = argv[1];
	v *= i;
}
void ClassDouble::mult_assign_long(int argc, BValue* argv)
{
	double& v = argv[0];
	long long l = argv[1];
	v *= l;
}
void ClassDouble::mult_assign_real(int argc, BValue* argv)
{
	double& v = argv[0];
	BReal r = argv[1];
	v *= r;
}
void ClassDouble::mult_assign_float(int argc, BValue* argv)
{
	double& v = argv[0];
	float f = argv[1];
	v *= f;
}
void ClassDouble::mult_assign_double(int argc, BValue* argv)
{
	double& v = argv[0];
	double d = argv[1];
	v *= d;
}

void ClassDouble::div_char(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = double(v / i);
}
void ClassDouble::div_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = double(v / s);
}
void ClassDouble::div_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = double(v / i);
}
void ClassDouble::div_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = double(v / l);
}
void ClassDouble::div_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = double(v / r);
}
void ClassDouble::div_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = double(v / f);
}
void ClassDouble::div_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = (v / d);
}

void ClassDouble::div_assign_char(int argc, BValue* argv)
{
	double& v = argv[0];
	char c = argv[1];
	v /= c;
}
void ClassDouble::div_assign_short(int argc, BValue* argv)
{
	double& v = argv[0];
	short s = argv[1];
	v /= s;
}
void ClassDouble::div_assign_int(int argc, BValue* argv)
{
	double& v = argv[0];
	int i = argv[1];
	v /= i;
}
void ClassDouble::div_assign_long(int argc, BValue* argv)
{
	double& v = argv[0];
	long long l = argv[1];
	v /= l;
}
void ClassDouble::div_assign_real(int argc, BValue* argv)
{
	double& v = argv[0];
	BReal r = argv[1];
	v /= r;
}
void ClassDouble::div_assign_float(int argc, BValue* argv)
{
	double& v = argv[0];
	float f = argv[1];
	v /= f;
}
void ClassDouble::div_assign_double(int argc, BValue* argv)
{
	double& v = argv[0];
	double d = argv[1];
	v /= d;
}

void ClassDouble::mod_char(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = fmod(v, i);
}
void ClassDouble::mod_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = fmod(v, s);
}
void ClassDouble::mod_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = fmod(v, i);
}
void ClassDouble::mod_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = fmod(v, (double)l);
}
void ClassDouble::mod_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = fmod(v, r);
}
void ClassDouble::mod_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = fmod(v, f);
}
void ClassDouble::mod_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = fmod(v, d);
}

void ClassDouble::mod_assign_char(int argc, BValue* argv)
{
	double& v = argv[0];
	char c = argv[1];
	argv[0] = v = fmod(v, c);
}
void ClassDouble::mod_assign_short(int argc, BValue* argv)
{
	double& v = argv[0];
	short s = argv[1];
	argv[0] = v = fmod(v, s);
}
void ClassDouble::mod_assign_int(int argc, BValue* argv)
{
	double& v = argv[0];
	int i = argv[1];
	argv[0] = v = fmod(v, i);
}
void ClassDouble::mod_assign_long(int argc, BValue* argv)
{
	double& v = argv[0];
	long long l = argv[1];
	argv[0] = v = fmod(v, (double)l);
}
void ClassDouble::mod_assign_real(int argc, BValue* argv)
{
	double& v = argv[0];
	BReal r = argv[1];
	argv[0] = v = fmod(v, r);
}
void ClassDouble::mod_assign_float(int argc, BValue* argv)
{
	double& v = argv[0];
	float f = argv[1];
	argv[0] = v = fmod(v, f);
}
void ClassDouble::mod_assign_double(int argc, BValue* argv)
{
	double& v = argv[0];
	double d = argv[1];
	argv[0] = v = fmod(v, d);
}

void ClassDouble::equal_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = (v == c);
}
void ClassDouble::equal_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = (v == s);
}
void ClassDouble::equal_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = (v == i);
}
void ClassDouble::equal_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = (v == l);
}
void ClassDouble::equal_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = (v == r);
}
void ClassDouble::equal_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = (v == f);
}
void ClassDouble::equal_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = (v == d);
}

void ClassDouble::unequal_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = (v != c);
}
void ClassDouble::unequal_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = (v != s);
}
void ClassDouble::unequal_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = (v != i);
}
void ClassDouble::unequal_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = (v != l);
}
void ClassDouble::unequal_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = (v != r);
}
void ClassDouble::unequal_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = (v != f);
}
void ClassDouble::unequal_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = (v != d);
}

void ClassDouble::greater_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = (v > c);
}
void ClassDouble::greater_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = (v > s);
}
void ClassDouble::greater_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = (v > i);
}
void ClassDouble::greater_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = (v > l);
}
void ClassDouble::greater_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = (v > r);
}
void ClassDouble::greater_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = (v > f);
}
void ClassDouble::greater_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = (v > d);
}

void ClassDouble::less_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = (v < c);
}
void ClassDouble::less_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = (v < s);
}
void ClassDouble::less_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = (v < i);
}
void ClassDouble::less_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = (v < l);
}
void ClassDouble::less_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = (v < r);
}
void ClassDouble::less_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = (v < f);
}
void ClassDouble::less_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = (v < d);
}

void ClassDouble::greater_equal_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = (v >= c);
}
void ClassDouble::greater_equal_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = (v >= s);
}
void ClassDouble::greater_equal_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = (v >= i);
}
void ClassDouble::greater_equal_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = (v >= l);
}
void ClassDouble::greater_equal_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = (v >= r);
}
void ClassDouble::greater_equal_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = (v >= f);
}
void ClassDouble::greater_equal_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = (v >= d);
}

void ClassDouble::less_equal_char(int argc, BValue* argv)
{
	double v = argv[0];
	char c = argv[1];
	argv[0] = (v <= c);
}
void ClassDouble::less_equal_short(int argc, BValue* argv)
{
	double v = argv[0];
	short s = argv[1];
	argv[0] = (v <= s);
}
void ClassDouble::less_equal_int(int argc, BValue* argv)
{
	double v = argv[0];
	int i = argv[1];
	argv[0] = (v <= i);
}
void ClassDouble::less_equal_long(int argc, BValue* argv)
{
	double v = argv[0];
	long long l = argv[1];
	argv[0] = (v <= l);
}
void ClassDouble::less_equal_real(int argc, BValue* argv)
{
	double v = argv[0];
	BReal r = argv[1];
	argv[0] = (v <= r);
}
void ClassDouble::less_equal_float(int argc, BValue* argv)
{
	double v = argv[0];
	float f = argv[1];
	argv[0] = (v <= f);
}
void ClassDouble::less_equal_double(int argc, BValue* argv)
{
	double v = argv[0];
	double d = argv[1];
	argv[0] = (v <= d);
}
